package com.ruoyi.project.system.customer.controller;

import com.google.common.collect.Lists;
import com.ruoyi.framework.web.domain.AjaxResult;
import com.ruoyi.project.system.customer.domain.SufOrderDTO;
import com.ruoyi.project.system.customer.mapper.SufOrderMapper;
import com.ruoyi.project.tool.PageResponse;
import com.ruoyi.project.tool.ResponseState;
import lombok.extern.slf4j.Slf4j;
import org.springframework.web.bind.annotation.*;
import org.springframework.web.multipart.MultipartFile;

import javax.annotation.Resource;
import java.util.List;

/**
 * 订单表(SufOrder)表控制层
 *
 * @author makejava
 * @since 2024-09-28 16:37:39
 */
@RestController
@RequestMapping("/sufOrder")
@Slf4j
public class SufOrderController {
    /**
     * 服务对象
     */
    @Resource
    private SufOrderMapper sufOrderMapper;


    @PostMapping( "/select")
    public AjaxResult select(String ids)
    {
        return AjaxResult.success(sufOrderMapper.selectSufOrderById(ids));
    }


}
